package net.edu_soft.ec.asset.pojo;

import java.io.Serializable;

public class UsageRecord implements Serializable {
    /**
     * 使用记录id
     */
    private Integer usageRecordId;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 高校id
     */
    private Integer schoolId;

    /**
     * 高校内使用网址
     */
    private String usageUrl;

    private static final long serialVersionUID = 1L;

    public Integer getUsageRecordId() {
        return usageRecordId;
    }

    public void setUsageRecordId(Integer usageRecordId) {
        this.usageRecordId = usageRecordId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getUsageUrl() {
        return usageUrl;
    }

    public void setUsageUrl(String usageUrl) {
        this.usageUrl = usageUrl == null ? null : usageUrl.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", usageRecordId=").append(usageRecordId);
        sb.append(", productId=").append(productId);
        sb.append(", schoolId=").append(schoolId);
        sb.append(", usageUrl=").append(usageUrl);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}